# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

import settings

info_doc_root = {'document_root': settings.MEDIA_ROOT }

urlpatterns = patterns('',
    
    (r'^$', 'metogreen.views.inicio'),
    
    (r'^sobre/', 'metogreen.views.sobre'),
    
    (r'^metogreen/', include('metogreen.metodologia.urls')),
    
    (r'^metogreen/admin/(.*)', admin.site.root),
    
    
)

if settings.LOCAL:
    urlpatterns += patterns('',
            (r'^media/(.*)$', 'django.views.static.serve', 
             {'document_root': settings.MEDIA_ROOT}),
                           )
